package com.zjitc.dao;

import com.zjitc.model.Country;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 16:04
 * @description:
 */
public interface CountryDao {
  List<Country> findAll();


  List<Country> findByCountryName(String countryName);

  int insert(Country country);

  int delete(String code);

  int update(Country country);

  Country findByCode(String code);
}
